package org.zfes.snowier.zbss.xzy.biz.message.service;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import org.zfes.snowier.core.data.DataSet;
import org.zfes.snowier.core.data.SelectVo;
import org.zfes.snowier.zbss.xzy.biz.message.model.MessageType;
public interface IMessageTypeService{

	 Optional<MessageType> loadMessageTypeById(Long id);
	
	 void createMessageType(MessageType messageType);
	
	 void updateMessageType(MessageType messageType);

	 void deleteMessageType(Long id);
	
	 DataSet loadMessageTypeDataSet(Map<String, Object> params);
	 
	Optional<MessageType> loadByCode(java.lang.String code);
	

 	void setMessageTypeStatus(Long id, Byte status);
 	
    List<SelectVo> loadMessageTypeSelectVo(String keywords);
    
}